import { createVue } from './vue'
import { createAutoImport } from './auto-import'
import { createSvgIcon } from './svg-icon'

export const createVitePlugins = (viteEnv, isBuild = false) => {
  const vitePlugins = []
  vitePlugins.push(createVue())
  vitePlugins.push(...createAutoImport())
  vitePlugins.push(createSvgIcon(isBuild))
  return vitePlugins
}
